package cn.tedu.egweibo3.mapper;

import cn.tedu.egweibo3.pojo.dto.UserRegDTO;
import cn.tedu.egweibo3.pojo.entity.User;
import cn.tedu.egweibo3.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    UserVO selectByUser(String username);
    int insert(User user);
    UserVO selectLogin(@Param("username") String username,
                       @Param("password") String password);
}
